<%@ page language="java" import="org.apache.log4j.Logger,cn.com.zsc.system.vo.UserVO" pageEncoding="UTF-8"%> 
<% 
response.setHeader("Content-Type","application/force-download");
response.setHeader("Content-Type","application/vnd.ms-excel");
response.setHeader("Content-Disposition","attachment;filename=export.xls");
out.print(request.getParameter("exportContent")); 

String currentTitle = new String(request.getParameter("currentTitle").toString().getBytes("iso-8859-1"),"GBK");

UserVO user = (UserVO)session.getAttribute("user");
String curUserName = user.getName();

Logger logger = Logger.getLogger("【Export Excel】：");
logger.info("导出Excel【" + currentTitle + "】 当前用户：" + curUserName);
%> 